package com.z.dao;

import com.z.pojo.Users;

import java.sql.SQLException;
import java.util.List;

public interface UsersDao {
    Users selectOneUsers(String account, String password, Integer level) throws SQLException;
    List<Users> selectPageUsers(Integer nowpage, Integer eachcount, String term) throws SQLException;
    Integer count(String term) throws SQLException;
    Integer updatebyuid(Integer uid,Integer level ) throws SQLException;
    Users selectUsersByuid(Integer uid) throws SQLException;
    Integer updateUsersByuid(Users users) throws  SQLException;
    Integer insertUsers(Users users) throws  SQLException;
}
